package com.cn.hjsj.api.api;

import com.cn.hjsj.api.bean.Relation_Packages_PromotionsBean;

import java.util.Map;

/**
 * Created by zsj on 2017/9/15.
 */
public interface Relation_Packages_PromotionsControl {

    /**
     * 插入套餐活动包关系
     *
     * @param relation_Packages_PromotionsBean
     * @return map
     */
    Map<String, Object> insert(Relation_Packages_PromotionsBean relation_Packages_PromotionsBean);


    /**
     * 修改卡套餐活动包关系
     *
     * @param relation_Packages_PromotionsBean         set条件
     * @param relation_Packages_PromotionsBeanParmeter where条件
     * @return map
     */
    Map<String, Object> update(Relation_Packages_PromotionsBean relation_Packages_PromotionsBean, Relation_Packages_PromotionsBean relation_Packages_PromotionsBeanParmeter);


    /**
     * 删除套餐活动包关系
     *
     * @param relation_Packages_PromotionsBeanParmeter where条件
     * @return map
     */
    Map<String, Object> delete(Relation_Packages_PromotionsBean relation_Packages_PromotionsBeanParmeter);


    /**
     * 查询套餐活动包关系列表
     *
     * @param relation_Packages_PromotionsBeanParmeter where条件
     * @return map
     */
    Map<String, Object> getList(Relation_Packages_PromotionsBean relation_Packages_PromotionsBeanParmeter);


    /**
     * 查询套餐活动包关系列表数量
     *
     * @param relation_Packages_PromotionsBeanParmeter where条件
     * @return map
     */
    Map<String, Object> getListCount(Relation_Packages_PromotionsBean relation_Packages_PromotionsBeanParmeter);


}
